home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / FireMan.swf / scripts / frame_1095 / PlaceObject2_690_3 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2008-09-12  |  327b  |  20 lines

  1. onClipEvent(enterFrame){
  2.    u = false;
  3.    if(_Y < 224 && !door.pause)
  4.    {
  5.       _Y = _Y + 1;
  6.       u = true;
  7.    }
  8.    if(_X > -256 && !door.pause)
  9.    {
  10.       _X = _X - dx;
  11.    }
  12.    if(_X <= -256 && !v)
  13.    {
  14.       door.pause = true;
  15.       door._x = 256;
  16.       door.gotoAndPlay("close");
  17.       v = true;
  18.    }
  19. }
  20.